<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
    <link href="../../assets/lib/layui/lay/modules/ztree/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" />
	<link href="../../assets/lib/layui/css/file-tree4.css" rel="stylesheet" />
    <link href="../../assets/lib/layui/lay/modules/contextMenu/jquery.contextMenu.min.css" rel="stylesheet" />
</head>
<body>
	<div class="winui-toolbar">
        <div class="winui-tool">
            <button id="reloadTable" class="winui-toolbtn"><i class="fa fa-refresh" aria-hidden="true"></i><language showName="com.skyeye.refreshDataBtn"></language></button>
            <button id="addFolderBean" class="winui-toolbtn"><i class="fa fa-folder-open-o" aria-hidden="true"></i>新建文件夹</button>
            <button id="addSenclosureBean" class="winui-toolbtn"><i class="fa fa-cloud-upload" aria-hidden="true"></i>上传附件</button>
        </div>
    </div>
	<div class="sysenclosure-console">
    	<div class="sysenclosure-left">
    		<div class="sysenclosure-left-title">
    			‘我的附件’属于根目录，不算在文件夹级别内，除了‘我的附件’只允许添加两层级别的文件夹
    		</div>
   			<div class="sysenclosure-left-content">
   				<ul id="treeDemo" class="ztree fsTree" method="get" isRoot="0"
   					treeIdKey="id" inputs="parentId" treePIdKey="pId" clickCallbackInputs="parentId:$id" treeName="name"></ul>
   			</div>
    	</div>
    	<div class="sysenclosure-right">
    		<table id="messageTable" lay-filter="messageTable"></table>
	        <script type="text/html" id="tableBar">
            	<a class="layui-btn layui-btn-xs" lay-event="edit"><language showName="com.skyeye.editBtn"></language></a>
				{{# if(d.fileType != 'folder'){ }}
					<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="download">下载</a>
				{{# } }}
       		</script>
    	</div>
	</div>
	
    <script src="../../assets/lib/layui/layui.js"></script>
    <script src="../../assets/lib/layui/custom.js"></script>
    <script type="text/javascript" src="../../assets/lib/layui/lay/modules/jquery-min.js"></script>
    <script type="text/javascript" src="../../assets/lib/layui/lay/modules/contextMenu/jquery.contextMenu.min.js"></script>
    <script type="text/javascript" src="../../assets/lib/layui/lay/modules/ztree/js/jquery.ztree.all.min.js"></script>
    <script type="text/javascript" src="../../assets/lib/layui/lay/modules/ztree/js/jquery.ztree.exhide.min.js"></script>
    <script type="text/javascript">
        layui.config({base: '../../js/sysenclosure/'}).use('mysysenclosure');
    </script>
</body>
</html>